package message.test.domain;

import java.io.Serializable;
import message.test.domain.enums.Sex;

/**
 * .
 *
 * @author sunhao(sunhao.java@gmail.com)
 * @version V1.0, 14-9-8 下午5:47
 */
public class Demo implements Serializable {
    private Long pkId;
    private String userName;
    private Sex sex;

    public Demo() {
    }

    public Demo(Long pkId, String userName, Sex sex) {
        this.pkId = pkId;
        this.userName = userName;
        this.sex = sex;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Long getPkId() {
        return pkId;
    }

    public void setPkId(Long pkId) {
        this.pkId = pkId;
    }

    public Sex getSex() {
        return sex;
    }

    public void setSex(Sex sex) {
        this.sex = sex;
    }

    @Override
    public String toString() {
        return "Demo{" +
                "pkId=" + pkId +
                ", name='" + userName + '\'' +
                ", sex=" + sex +
                '}';
    }
}
